package com.vincce.sport.mapper;

import java.util.List;
import java.util.Map;

import com.vincce.sport.core.MyBatisRepository;
import com.vincce.sport.entity.ActivityUser;
import com.vincce.sport.entity.Page;

@MyBatisRepository
public interface ActivityUserMapper {
	public List<ActivityUser> queryActivityUserByPage(Page<ActivityUser> page);
	
	public Long queryActivityUserCount(Map<String, Object> map);
	
	public Long insertActivityUser(ActivityUser activityUser);
	
	public Long updateActivityUser(ActivityUser activityUser);
	
	public Integer deleteById(Integer id);
	
	public List<ActivityUser> findActivityUserAll();
	
	public List<ActivityUser> findActivityUserByOne(ActivityUser activityUser);

	public List<ActivityUser> findUserforActivity(ActivityUser activityUser);
	
	public Integer findOrFullByType(Map<String, Object> map);
}
